package NWish.Interface
{
	public class ILogger
	{
		static protected var _logger:ILogger;
		static protected const LOG = 1<<0;
		static protected const WARN = 1<<1;
		static protected const ERR = 1<<2;
		
		static public function log(msg:String,obj = null)
		{
			_logger.log(msg,obj,LOG);
		}
		static public function warn(msg:String,obj = null)
		{
			_logger.log(msg,obj,WARN);
		}
		static public function err(msg:String,obj = null)
		{
			_logger.log(msg,obj,ERR);
		}
		
		static protected var _level = LOG|WARN|ERR;
		static public function set level(l)
		{
			_level = l;
		}
		static public function get level()
		{
			return _level;
		}
		
		
		public function ILogger()
		{
		}
		
		protected function log(msg:String,obj,level)
		{
			
		}
	}
}